<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>登录</title>
	<!-- start: CSS -->
	<link id="bootstrap-style" href="${pageContext.request.contextPath}/css/bootstrap.min.css" rel="stylesheet">
	<link href="${pageContext.request.contextPath}/css/bootstrap-responsive.min.css" rel="stylesheet">
	<link id="base-style" href="${pageContext.request.contextPath}/css/style.css" rel="stylesheet">
	<link id="base-style-responsive" href="${pageContext.request.contextPath}/css/style-responsive.css" rel="stylesheet">
	<link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800&subset=latin,cyrillic-ext,latin-ext' rel='stylesheet' type='text/css'>
	<!-- end: CSS -->
		
	<!-- start: Favicon -->
	<link rel="shortcut icon" href="${pageContext.request.contextPath}/img/favicon.ico">
	<!-- end: Favicon -->
	<style type="text/css">
		body { background: url(${pageContext.request.contextPath}/img/bg-login.jpg) !important; }
	</style>
	
</head>

<body>
		<div class="container-fluid-full">
		<div class="row-fluid">
			<div class="row-fluid">
				<div class="login-box">
					<div class="icons">
					<a href="${pageContext.request.contextPath}/index">首页</a>&nbsp;&nbsp;
					&nbsp;&nbsp;<a href="${pageContext.request.contextPath}/managerindex">管理员登录</a>
					</div>
					<h2 class="text-center"><b>请登录你的账户</b></h2>
					<form class="form-horizontal" action="${pageContext.request.contextPath}/user/login" method="post">
						<fieldset>
							<div class="input-prepend" title="Username">
								<span class="add-on"><i class="halflings-icon user"></i></span>
								<input class="input-large span10" name="userName" id="userName" type="text" placeholder="请输入用户名"/>
							</div>
							<div class="clearfix"></div>

							<div class="input-prepend" title="Password">
								<span class="add-on"><i class="halflings-icon lock"></i></span>
								<input class="input-large span10" name="userPwd" id="userPwd" type="password" placeholder="请输入密码"/>
							</div>
							<div class="clearfix"></div>
							
							<label class="remember" for="remember"><input type="checkbox" id="remember" />记住账号
							
                            </label>
                            <div class="button-login">	
								<button type="submit" class="btn btn-primary">登录</button>
							</div>
							
							<div class="clearfix"></div>
						</fieldset>
					</form>
					<hr>
					<h3>想注册吗?</h3>
					<p>
						<a href="${pageContext.request.contextPath}/user/registpage">点击这里</a> 进行您的注册.
					</p>	
				</div><!--/span-->
			</div><!--/row-->
		</div>
		</div>

</body>
</html>